home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1997 September / Macworld (1997-09).dmg / Serious Software / Cherwell Scientific Demos / pro Fit / pro Fit 5.0 demo (ppc).sea / pro Fit 5.0 demo (ppc) / External Modules / Plot3D sources / Text3DLib.h < prev    next >
MacBinary  |  1996-06-16  |  1.6 KB  |  [TEXT/MPS ]

view JSON data     |     view as text     |     open on a Mac     |     open on a PC

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Text3DLib.h

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Sun Jun 16 20:03:25 1996, modified Sun Jun 16 20:03:25 1996, creator 'MPS ', type ASCII, 839 bytes "Text3DLib.h" , at 0x3c7 613 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 54 65 78 74 33 44 | 4c 69 62 2e 68 00 00 00 |..Text3D|Lib.h...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 03 47 00 | 00 02 65 ad ea 51 4d ad |......G.|..e..QM.|
|00000060| ea 51 4d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.QM.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 bf ce 00 00 |........|........|
|00000080| 23 70 72 61 67 6d 61 20 | 6f 6e 63 65 0d 0d 23 69 |#pragma |once..#i|
|00000090| 66 6e 64 65 66 20 5f 5f | 54 45 58 54 33 44 4c 49 |fndef __|TEXT3DLI|
|000000a0| 42 5f 5f 0d 23 64 65 66 | 69 6e 65 20 5f 5f 54 45 |B__.#def|ine __TE|
|000000b0| 58 54 33 44 4c 49 42 5f | 5f 0d 0d 23 69 6e 63 6c |XT3DLIB_|_..#incl|
|000000c0| 75 64 65 20 22 51 44 33 | 44 47 72 6f 75 70 2e 68 |ude "QD3|DGroup.h|
|000000d0| 22 0d 0d 54 51 33 47 72 | 6f 75 70 4f 62 6a 65 63 |"..TQ3Gr|oupObjec|
|000000e0| 74 20 4d 61 6b 65 54 65 | 78 74 28 75 6e 73 69 67 |t MakeTe|xt(unsig|
|000000f0| 6e 65 64 20 63 68 61 72 | 20 2a 73 74 72 2c 20 75 |ned char| *str, u|
|00000100| 6e 73 69 67 6e 65 64 20 | 63 68 61 72 20 2a 66 6f |nsigned |char *fo|
|00000110| 6e 74 2c 20 66 6c 6f 61 | 74 20 73 69 7a 65 2c 0d |nt, floa|t size,.|
|00000120| 09 09 54 51 33 50 6f 69 | 6e 74 33 44 2a 20 70 6f |..TQ3Poi|nt3D* po|
|00000130| 73 69 74 69 6f 6e 2c 20 | 54 51 33 56 65 63 74 6f |sition, |TQ3Vecto|
|00000140| 72 33 44 2a 20 63 6f 6e | 73 74 20 64 69 72 65 63 |r3D* con|st direc|
|00000150| 74 69 6f 6e 2c 20 54 51 | 33 56 65 63 74 6f 72 33 |tion, TQ|3Vector3|
|00000160| 44 2a 20 63 6f 6e 73 74 | 20 75 70 2c 0d 09 09 73 |D* const| up,...s|
|00000170| 68 6f 72 74 20 61 6c 69 | 67 6e 29 3b 0d 0d 2f 2f |hort ali|gn);..//|
|00000180| 20 43 6f 6e 76 65 72 74 | 73 20 74 65 78 74 20 74 | Convert|s text t|
|00000190| 6f 20 61 20 67 69 76 65 | 6e 20 51 44 33 44 20 73 |o a give|n QD3D s|
|000001a0| 68 61 70 65 0d 2f 2f 09 | 66 6f 6e 74 3a 20 74 68 |hape.//.|font: th|
|000001b0| 65 20 66 6f 6e 74 20 6f | 66 20 74 68 65 20 74 65 |e font o|f the te|
|000001c0| 78 74 20 28 75 73 65 20 | 6e 69 6c 20 6f 72 20 65 |xt (use |nil or e|
|000001d0| 6d 70 74 79 20 73 74 72 | 69 6e 67 20 69 66 20 64 |mpty str|ing if d|
|000001e0| 65 66 61 75 6c 74 20 66 | 6f 6e 74 0d 2f 2f 09 73 |efault f|ont.//.s|
|000001f0| 69 7a 65 3a 20 74 68 65 | 20 73 69 7a 65 20 28 69 |ize: the| size (i|
|00000200| 6e 20 75 6e 69 74 73 20 | 6f 66 20 74 68 65 20 6c |n units |of the l|
|00000210| 6f 63 61 6c 20 63 6f 6f | 72 64 69 6e 61 74 65 20 |ocal coo|rdinate |
|00000220| 73 79 73 74 65 6d 29 0d | 2f 2f 09 70 6f 73 3a 20 |system).|//.pos: |
|00000230| 20 74 68 65 20 70 6f 73 | 69 74 69 6f 6e 20 6f 66 | the pos|ition of|
|00000240| 20 74 68 65 20 73 68 61 | 70 65 2c 20 73 65 65 20 | the sha|pe, see |
|00000250| 61 6c 69 67 6e 0d 2f 2f | 09 64 69 72 65 63 74 69 |align.//|.directi|
|00000260| 6f 6e 3a 20 74 68 65 20 | 76 65 63 74 6f 72 20 61 |on: the |vector a|
|00000270| 6c 6f 6e 67 20 74 68 65 | 20 62 61 73 65 20 6c 69 |long the| base li|
|00000280| 6e 65 20 6f 66 20 74 68 | 65 20 74 65 78 74 20 28 |ne of th|e text (|
|00000290| 75 6e 69 74 20 76 65 63 | 74 6f 72 29 0d 2f 2f 09 |unit vec|tor).//.|
|000002a0| 75 70 3a 20 74 68 65 20 | 76 65 63 74 6f 72 20 61 |up: the |vector a|
|000002b0| 6c 6f 6e 67 20 74 68 65 | 20 76 65 72 74 69 63 61 |long the| vertica|
|000002c0| 6c 20 64 69 72 65 63 74 | 69 6f 6e 20 6f 66 20 74 |l direct|ion of t|
|000002d0| 68 65 20 74 65 78 74 20 | 28 75 6e 69 74 20 76 65 |he text |(unit ve|
|000002e0| 63 74 6f 72 29 0d 2f 2f | 09 61 6c 69 67 6e 3a 0d |ctor).//|.align:.|
|000002f0| 2f 2f 09 09 2d 31 3a 20 | 6c 65 66 74 20 61 6c 69 |//..-1: |left ali|
|00000300| 67 6e 65 64 2c 20 70 6f | 73 20 69 73 20 74 68 65 |gned, po|s is the|
|00000310| 20 70 6f 73 69 74 69 6f | 6e 20 6f 66 20 74 68 65 | positio|n of the|
|00000320| 20 62 65 67 69 6e 6e 69 | 6e 67 20 6f 66 20 74 68 | beginni|ng of th|
|00000330| 65 20 74 65 78 74 27 73 | 20 62 61 73 65 20 6c 69 |e text's| base li|
|00000340| 6e 65 0d 2f 2f 09 09 30 | 3a 20 20 63 65 6e 74 65 |ne.//..0|: cente|
|00000350| 72 65 64 2c 20 70 6f 73 | 20 69 73 20 74 68 65 20 |red, pos| is the |
|00000360| 6d 69 64 64 6c 65 20 6f | 66 20 74 68 65 20 74 65 |middle o|f the te|
|00000370| 78 74 27 73 20 62 61 73 | 65 20 6c 69 6e 65 0d 2f |xt's bas|e line./|
|00000380| 2f 09 09 31 3a 09 72 69 | 67 68 74 20 61 6c 69 67 |/..1:.ri|ght alig|
|00000390| 6e 65 64 2c 20 70 6f 73 | 20 69 73 20 74 68 65 20 |ned, pos| is the |
|000003a0| 65 6e 64 20 6f 66 20 74 | 68 65 20 74 65 78 74 27 |end of t|he text'|
|000003b0| 73 20 62 61 73 65 20 6c | 69 6e 65 0d 0d 0d 23 65 |s base l|ine...#e|
|000003c0| 6e 64 69 66 0d 0d 0d 00 | 00 00 00 00 00 00 00 00 |ndif....|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 00 00 01 00 00 00 01 e3 | 00 00 00 e3 00 00 00 82 |........|........|
|00000410| 6f 6e 67 29 28 2a 2a 68 | 50 69 78 4d 61 70 29 2e |ong)(**h|PixMap).|
|00000420| 72 6f 77 42 79 74 65 73 | 20 26 20 30 78 33 66 66 |rowBytes| & 0x3ff|
|00000430| 0b 54 65 78 74 33 44 4c | 69 62 2e 68 02 00 00 00 |.Text3DL|ib.h....|
|00000440| 54 45 58 54 4d 50 53 20 | 01 00 b2 e4 b2 00 00 00 |TEXTMPS |........|
|00000450| 00 00 54 45 58 54 4d 50 | 53 20 01 00 b2 e4 b2 00 |..TEXTMP|S ......|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 ab 7f f7 84 00 00 | 03 47 00 00 02 65 6c 73 |........|.G...els|
|00000480| 28 68 50 69 78 4d 61 70 | 29 3b 0d 09 45 72 61 73 |(hPixMap|);..Eras|
|00000490| 65 52 65 63 74 28 26 72 | 65 63 74 47 57 29 3b 0d |eRect(&r|ectGW);.|
|000004a0| 09 44 72 61 77 50 69 63 | 74 75 72 65 28 70 69 63 |.DrawPic|ture(pic|
|000004b0| 74 2c 20 26 72 65 63 74 | 47 57 29 3b 0d 09 09 0d |t, &rect|GW);....|
|000004c0| 09 2f 2a 20 61 6c 6c 6f | 63 61 74 65 20 61 6e 20 |./* allo|cate an |
|000004d0| 61 72 65 61 20 6f 66 20 | 6d 65 6d 6f 72 79 20 66 |area of |memory f|
|000004e0| 6f 72 20 74 68 65 20 74 | 65 78 74 75 72 65 20 2a |or the t|exture *|
|000004f0| 2f 0d 09 74 65 78 74 75 | 72 65 5f 6d 61 70 20 3d |/..textu|re_map =|
|00000500| 00 00 00 0a 00 09 06 4d | 6f 6e 61 63 6f 00 00 00 |.......M|onaco...|
|00000510| 00 04 00 07 00 04 00 00 | 00 75 53 bc a1 27 3f e5 |........|.uS..'?.|
|00000520| 32 30 00 04 00 00 00 01 | 00 00 00 00 ab 80 91 c7 |20......|........|
|00000530| ab 80 13 a6 a9 8a a7 e3 | 00 15 d4 de 00 08 00 0e |........|........|
|00000540| 00 06 17 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 ba |...appli|cations.|
|00000550| 6c 69 62 72 61 72 69 65 | 73 ba 00 0f 50 61 62 6c |librarie|s...Pabl|
|00000560| 6f 20 46 65 72 6e 69 63 | 6f 6c 61 00 01 32 00 08 |o Fernic|ola..2..|
|00000570| 54 65 78 74 33 44 2e 68 | 00 00 00 00 11 43 6f 64 |Text3D.h|.....Cod|
|00000580| 65 62 65 72 74 20 63 68 | 61 6e 67 65 73 0d 00 00 |ebert ch|anges...|
|00000590| 00 00 48 00 09 4d 6f 6e | 61 63 6f 00 00 00 00 00 |..H..Mon|aco.....|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 03 00 | 04 00 6c 00 09 03 56 02 |........|..l...V.|
|000005c0| 68 00 6c 00 09 03 56 02 | 68 ae 14 30 55 00 00 00 |h.l...V.|h..0U...|
|000005d0| 53 00 00 00 61 00 00 00 | 00 01 00 00 00 00 04 00 |S...a...|........|
|000005e0| 01 00 01 00 00 01 00 00 | 00 01 e3 00 00 00 e3 00 |........|........|
|000005f0| 00 00 82 02 47 46 d8 26 | 90 00 00 00 1c 00 82 00 |....GF.&|........|
|00000600| 04 45 46 4e 54 00 00 00 | 2a 45 54 41 42 00 00 00 |.EFNT...|*ETAB...|
|00000610| 36 63 6b 69 64 00 00 00 | 42 4d 50 53 52 00 00 00 |6ckid...|BMPSR...|
|00000620| 4e 4d 57 42 42 00 00 00 | 5a 03 eb ff ff 00 00 00 |NMWBB...|Z.......|
|00000630| 00 00 00 00 00 03 ec ff | ff 00 00 00 0e 00 00 00 |........|........|
|00000640| 00 00 80 ff ff 00 00 00 | 16 00 00 00 00 03 ed ff |........|........|
|00000650| ff 00 00 00 8f 00 00 00 | 00 03 f0 ff ff 00 00 00 |........|........|
|00000660| db 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+